import _axios from './request'
// 搜索自动补全
function suggestion (params) {
  return _axios({
    url: '/app/v1_0/suggestion',
    params
  })
}
function searcHstories () {
  return _axios({
    url: '/app/v1_0/search/histories',
    needToken: true
  })
}
export { suggestion, searcHstories }
